package top.withwings.bonus.common.pojo;

public class PageParam {
    private Integer start;
    private Integer length;


    public PageParam() {
    }

    public PageParam(Integer start, Integer length) {
        this.start = start;
        this.length = length;
    }


    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getEnd(){
        return this.start + this.length -1;
    }
}
